package com.kingboy.kbg.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Create By 郭金宝 on 2018/6/11.<br>
 */
@SpringBootApplication
@EnableEurekaClient
@ComponentScan(basePackages = {
        "com.kingboy.kbg.uums.repository.account.service",
        "com.kingboy.kbg.uums.repository.authority.service",
        "com.kingboy.kbg.core.common.base.id",
})
@ComponentScan(basePackages = {"com.kingboy.kbg.auth.common.event"})
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }
}